package com.cpsdna.openapi.dict;

/**
 * 返回码
 */
public class ResultCode {

	// 成功码
	public final static int SUCCESS = 0x000;

	public final static int FAILED = 0x001; // 通用错误码
	public final static int TIMEOUT = 0x002;//后端请求超时
	public final static int INITIALIZE_ERROR = 0x003;
	public final static int REQUEST_FORMAT_ERROR = 0x004;//格式错误
	public final static int LACK_OF_CMD_ELEMENT = 0x005;//格式错误
	public final static int LACK_OF_PARAMS_ELEMENT = 0x006;//格式错误
	public final static int COMMAND_NOT_SUPPORT = 0x007;//接口不支持
	public final static int PARAMETER_IS_EMPTY = 0x008;//格式错误
	public final static int ACCESS_DB_FAILED = 0x009;//连接数据库是吧
	public final static int USER_NOT_SIGNIN = 0x00A; // 用户未登录或是session超时
	public final static int RESULT_BLANK = 0x00B; // 结果为空的错误码，但是不显示错误
	public final static int SENSITIVE_WORD = 0x00D; // 包含敏感词
	public final static int ILLEGAL_WORD = 0x00E; // 包含非法字符

}
